using FluentNHibernate.Testing;
using NUnit.Framework;
using RMH.Entities;

namespace RMH.IntegrationTests.Repository
{
    [TestFixture]
    public class DiagnosisRepositorySpecs : RepositoryBaseSpecs
    {
        [Test]
        public void can_persist_all_properties()
        {
            new PersistenceSpecification<Diagnosis>(GetSession())
                .CheckProperty(x => x.Name, "Diabetes")                
                .VerifyTheMappings();
        }
    }
}